AIFF and AIFF-C files generally contain a Sound Data Chunk that contains the actual sampled-sound data. The SoundDataChunk data type defines a Sound Data Chunk.
TYPE SoundDataChunk =
RECORD
ckID: ID; {'SSND'}
ckSize: LongInt; {size of chunk data}
offset: LongInt; {offset to sound data}
blockSize: LongInt; {size of alignment blocks}
END;
The sampled-sound data follows the blockSize field. If the data following the blockSize field contains an odd number of bytes, a pad byte with a value of 0 is added at the end to preserve an even length for this chunk. If there is a pad byte, it is not included in the ckSize field. For information on the format of the sampled-sound data, see "Sound Files" .
| Previous | Chapter contents | Chapter top | Section top | Next |